package cloud.xlh.infrastructure.db.dynamic_dataSource_change;

import org.aspectj.lang.ProceedingJoinPoint;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2023/3/26 16:43
 * @ Description:
 */
public interface AbstractDynamicRoutingDataSourceAspect {
    void dynamicRoutingDataSourcePointCut();

    default Object useCustomDataSource(ProceedingJoinPoint pjp) {
        System.out.println("这是执行切面逻辑的重要方法，请在实现类调用 ExecuteStrategy 方法");
        return null;
    }

    Object ExecuteStrategy(ProceedingJoinPoint pjp);

}
